package com.concurrent.sample.business.loan.entity;

import com.concurrent.sample.common.entity.AuditingEntity;
import java.time.LocalDate;
import javax.persistence.Entity;
import javax.persistence.Table;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 场外借贷合约券单表
 */
@Entity
@Table(name = "loan_ticket")
@Data
@Accessors(chain = true)
public class LoanTicketEntity extends AuditingEntity {

  /**
   * 交易日
   */
  private LocalDate tradingDay;

  /**
   * 标的信息
   */
  private String symbol;

  /**
   * 券单可约数量
   */
  private Long loanQty;

}
